<?php 
	namespace frontend\models;
	use yii\db\ActiveRecord;
	class Demo extends ActiveRecord
	{
		public function rules()
		{
			// return [
			// 	[['uname','age','d_time'],'required'],
				
			// ];
		}
	}
 ?>